//
//  TabBarButton.m
//  Weibo
//
//  Created by wpapple on 16/5/30.
//  Copyright © 2016年 红红火火恍恍惚惚嘿嘿嘿. All rights reserved.
//

#import "TabBarButton.h"
#import "UIView+XL.h"

@implementation TabBarButton

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel.font = [UIFont systemFontOfSize:13];
    }
    return self;
}

-(void)setHighlighted:(BOOL)highlighted{
    
}

-(CGRect)imageRectForContentRect:(CGRect)contentRect{
    return CGRectMake(0, 0, 30, 30);
}

-(UIEdgeInsets)titleEdgeInsets{
    return UIEdgeInsetsMake(30, -30, 0, 0);
}

@end
